diff options
| author | real-zephex <[email protected]> | 2024-04-10 06:46:15 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-10 06:46:15 +0530 |
| commit | c2fac73ac3ecb13942081bdf53ad46903772c92f (patch) | |
| tree | d257f429f1d6063080261c478489279b593be917 /src/app/anime/[id]/page.jsx | |
| parent | updated readme.md (diff) | |
| download | dramalama-c2fac73ac3ecb13942081bdf53ad46903772c92f.tar.xz dramalama-c2fac73ac3ecb13942081bdf53ad46903772c92f.zip | |
minor changes
Diffstat (limited to 'src/app/anime/[id]/page.jsx')
| -rw-r--r-- | src/app/anime/[id]/page.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/anime/[id]/page.jsx b/src/app/anime/[id]/page.jsx index 14fb36a..978a21c 100644 --- a/src/app/anime/[id]/page.jsx +++ b/src/app/anime/[id]/page.jsx @@ -22,6 +22,7 @@ export default async function AnimeInfo({ params }) { width={175} height={256} alt="Drama" + priority /> </div> <div className={styles.animeDescription}> @@ -33,8 +34,7 @@ export default async function AnimeInfo({ params }) { <div className={styles.animeDetails}> <span className={styles.genre}>Genres: </span> - {info && - info.genres && + {info.genres && info.genres.map((item, index) => ( <span className={styles.genreEntries} key={index}> {item} |